[master 2/4] dd: fix permissions on extracted files (#1222056)