convert: fix transcode on windows (#519)