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