Fixed resource access for byte array class loaders to accept the file name instead of the class name.