FileChannel.lock should throw an exception when file is impossible to lock,
for the case where the file is unlockable, not for the case where the
lock is already taken.
for the case where the file is unlockable, not for the case where the
lock is already taken.