FileLock: Use acquire()/release() instead of lock()/unlock()