Correctly handle chown with group given
Merge pull request #776 from eclipse/chown_fix

Correctly handle chown with group given