Correctly handle chown with group given

https://bugs.eclipse.org/bugs/show_bug.cgi?id=425933

@purplefox please review