Change compress/uncompress to work with bytevectors, not strings, and add some better error handling.