Removing assumption that /tmp exists so test runs on Windows