Fix up md5 deprecation warning.  Use hashlib if available