[SPARK-58079][INFRA] Create credential files securely and remove `~/.msmtprc` after use in `release-build.sh`