pegasus-transfer - ensure filesystem permissions are kept sane when doing two-stage transfers