Fix usage of lchmod to work everywhere
Handle the situation where lchmod doesn't exist at all
Merge pull request #438 from asmeurer/lchmod

New Error introduced: lchmod