Fix opening file name with ext. chars on Windows in avformat consumer.