Using hashlib instead of deprecated md5 module.

Thanks to @viosin for reporting this.
Released v0.5.1