Should I be stubbing Dir.chdir or creating a temporary directory?