Added exception handler around file open for lock files to fix the server-start.lock