Adds chdir to local /mnt so there will be space for temp files.
Updated for starcluster.