`(os === ('Windows_NT') ? "C:\\Windows\\Temp" : "/tmp")` should be abstracted into a function so if we ever want to update the paths it's not a pain.