Fix crashes / bad errors when loading a file fails

Accidentally tried to open a .expected file and got all sorts of fun crashes.

-[Unknown]