Deprication fix

* changed import md5 to hashlib

Change-Id: Ia22af37f07d8f81b2b456c4fe2ed38fae6d3a047