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)
 

I guess this is a typo