In MacOS, when opening a file, if I double-click a directory it creates a new file. How do I disable this?