Java properties file parser for Python