MCI-13287: copy permissions/metadata when compressing tar archives