Style changes as per Vasiliy's requests.

+ Remove the 'stringio' require, StringIO is part of core.