Removed unnecessary StringIO dependency from JPEG2K leak test