Use python_2_unicode_compatible annotation (python 3 support)

Signed-off-by: Álvaro Arranz <aarranz@conwet.com>
Fix missing import