'Release a lock on the backing file.'

def _unlock_backing_file(self):

    if self._backing_file_lock:
        fcntl.flock(self._backing_file_lock, fcntl.LOCK_UN)
        self._backing_file_lock.close()
        self._backing_file_lock = None
