Port files.inc to transitional syntax.

This fixes some extra bugs I found along the way, SystemFile::Read returned items, not bytes... and the compiler had a few crashes where it called errors without enough formatting arguments.