Encode data in python3 because hasher expects bytes

This is a fix for Issue #40 in lepture/python-livereload