chmod: print mode in octal format (if given as a number)

In Foreman::Export::Base.chmod, the new file mode was printed as-is, which means printing an octal number in decimal format (if a number-style argument is passed to FileUtils.chmod). This changes it to octal output (unless a string mode is passed).