Loader and writer for proper Java properties files