Persistent OBJ and TGA loaders

Improves performance by not needing to allocate temporary buffers for
each file separately