First part of second stage of VM translation. Handling low-hanging fruit (file I/O)