[BUGFIX] Ensure unix like paths for temp files