preserve formatting of input file when adjusting part properties
lower TargetFramework version from v4.5.1 to v4.5
fix a bug where output files could get corrupted if they were already existing