[fc2] Encode the string used for the md5 checksum

In python 3 it must be a bytes object.