Write out properties file.