stop inadvertent switch from bytes to unicode in baseheaders