ignore top dir ordering
switch from StringIO to BytesIO