Correct defaults for tmpdir() and homedir()
Remove bare IO::Spec calls from Main