windows fixes

temporary "fix" for https://github.com/Hoverbear/rust-rosetta/issues/273

made src/write_ppm.rs platform independent by using os::tempdir() instead of assuming the existence of a /tmp variable (which fails on windows)
 

yes, sorry, must have hit a tab without realizing...