public void saveProperties(String path, Properties properties) {
		OutputStream out = null;
		try {
			File propertiesFile = new File(getDirectory(), path);
			out = FileUtils.openOutputStream(propertiesFile);
			properties.store(out, null);
		} catch (IOException e) {
			LOGGER.error("Could not save property  sourceFile on " + path, e);
		} finally {
			IOUtils.closeQuietly(out);
		}
	}
Save properties.

@param path       path to save
@param properties properties.
ngrinder-core/src/main/java/org/ngrinder/infra/AgentHome.java