Add body contain umask

It seemed useful to also include a map of expected permissions for created
files.

closes redmine #1031