Req #20132 - add custom mode/uid/gid to addString() - patch by BJ Black