added octal representation of mode and made md5 checksumming optional

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Merge pull request #1 from bcoca/stat_updaates

added octal representation of mode and made md5 checksumming optional
Replace mode with octal renaming to mode.

Closes GH-6176

This way for mode we return in an octal format which is immediately usable compared to transforming it later.
Typo fix.
Merge pull request #6221 from risaacson/pull_6176

stat module: mode is now returned as an octal and md5 call can be skipped.