Added getResourceStream compat