Fixed a Feff:External bug related to building pathlist

added write_file convenience method
fixed a typo in Athena::IO related to rebinning