XNAT-2826: Modify FileLock code to specifically release the file lock (in case OS impl needs it)
XNAT-2801: Modified code as per code review suggestions.