Implement fs.chmod, fs.chmodSync

Needs to be tested x-platform still, mainly non-unix systems