added octal representation of mode and made md5 checksumming optional

this should close #6174 and #6080

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>