Fix file names with ext. chars on Windows for pgm producer.