Bugfix: Encode pithos header values when needed