Support for POSIX file lock