Read and write Java-style .properties files with minimal intrusiveness