Fixed py3k bug with unicode headers.