Mount level locking using FileChannel lock on temp file