Added support for reading resources out of the Files directory instead of datapak, which is needed for OS X 1.021