File flags were not correctly translated from OSX to ZFS in setattr.