Fix up QUICKFLI portability concerns

Use fopen and friends instead of DOS interrupts.
Use SHORT and LONG to guarantee field sizes remain the same.