add ability to write environment properties

@pupssman I suppose I also should add https://pypi.python.org/pypi/pyjavaproperties-unicode/0.1