switch to using BytesIO
1 file changed