Compatibility fix for URLRequest bytes