Fix FM403 and FM411

Some refactoring to account for I/O scan and improved unformatted
record handling.