Cleaned up the fileobject.thumb_get() method a bit.