#186 fixed closing FileWriter for version.derived.properties