Fixed up temp files

Made them cross-platform