use StringIO to read default avatar image data instead of reading in from filesystem.