Moving 'FileIO' back into 'api'

And cleaning up a bunch of import declarations, too!