imarray2mp4: added windows support