Using lock to access sublime_haskell_settings, fixing crash on .sublime-settings