Merge pull request #442 from ndawe/master

[MRG] histfactory: patch_xml also patch <Input>s
Merge pull request #443 from ndawe/master

[MRG] histfactory: write_measurement add output_path argument