Minor changes so it works on modern OS X: use openssl for digest, use preview environment, rm -r $tmpdir. Spelling fix in help