Fix for external stylesheets to open the stream before reading from it.
Merge pull request #216 from dgileadi/2.x

Fix for external stylesheets to open the stream before reading from it.