Writing to env properties file