Fix silent failures of chown in state-root

Failures in chown when reflecting the permissions of the file system tree into
state-root were not being reported.