Write images to file correctly under windows