Using File.dirname gets the parent when used against a directory, so change that... also, if we don't set hadoop.tmp.dir, use the Hadoop built-in default setting