FortIO updates and additional fixes. Fixed bad test.