Use standard IO services

git-svn-id: https://clas12svn.jlab.org/repos/clas12/EC_reconstruction/trunk@9595 b9d438ff-8729-0410-a4ab-d2f36c9c72ed
Fix stupid problems

git-svn-id: https://clas12svn.jlab.org/repos/clas12/EC_reconstruction/trunk@9597 b9d438ff-8729-0410-a4ab-d2f36c9c72ed