util.c produces more verbose load errors

Tweaked the error messages util.c produces when loading a resource from a file fails. The message now contains the path of the file that was attempted to be opened.