s3:smbd: when storing DOS attribute call dos_mode() beforehand