Cleaned up FileIO a bit, use case insensitive rfactortools.open_read() instead of open()