IO changes completed. Passes tests/make and input/cep2sparql-testing/queries/EPA[1-7]test.sh