use BytesIO for ConfigObj instead of StringIO