Make ExclusiveFile thread safe on Unix (use flock instead of lockf)