Fixed compability with harmattan

Harmattan's md5() can't pass bytearray argument