Fixing writable lock file check - is_writeable return false if file is not present