don't test with Django 1.4; encode message before passing it to dkim.sign