CDAP-1024 copied HashCodes toString method into our utility
class to make sure the directory path is valid.
Merge pull request #839 from caskdata/hotfix/CDAP-1024-valid-path

CDAP-1024 copied HashCodes toString method into our utility