Use SBT's java.util.Properties IO helper, factor out Map->Properties.