"pyramid on app engine gets ""invalidresponseerror: header values must be str, got 'unicode'",self.redirect('/home.view')