Fixed up ExtendedProperties with try-with-resources