Changed StringIO to BytesIO, fixing the TypeError that happens when concatenating the empty string with bytes.

Also initialize data in download to bytes rather than the empty string.
Fixes AttributeError when no command is supplied.
Changed bytes() to b''.
Merge pull request #3 from kuzi117/master

Changed StringIO to BytesIO