Add chmod from 4.4BSD-Lite Release 2