removed deprecation warnings for StringIO methods by changing bytes to each_byte
Merge pull request #14 from jlgoldb2/master

removed deprecation warnings for StringIO methods