overload jingo.helpers.f to fix UnicodeEncodeError (bug 976727)