Bug 994189 - Factor out method to load raw resource (r=margaret)
Bug 994189 - Improve code for reading raw resources (r=margaret)