Add support for TMPDIR locking
Minor update