chmod() touchups

Mode sanitization, t_path memory, and syswstat doesn't throw errors.