Create the FileLock using a FileOutputStream.