Master io fix

This is a duplicate of the hotfix to the master branch which works around the "fileFromPath not defined" error which occurs with perl 5.18.  Please check that it is properly based and give me directions about how to resubmit it so that it is properly based for develop.