fix java.io.FileNotFoundException when .settings directory doesn't exist