Removes a space from preferences.dm.