Decompresses ref if needed; receives synclient object as argument.
Adds chdir to local /mnt so there will be space for temp files.
Updated for starcluster.
Merge branch 'dev' of https://github.com/Sage-Bionetworks/synapse-seq into dev