Removed failing code block in resource stream wrapper.