feature(stylesheets): Handle StringIO as input for stylesheet)