avformat/file: Fix file delete for Windows