Making sure that RDPackageResource is set to the proper offset when dealing with byte ranges