Exposed option for hash digest encoding.

I was hoping to decrease the likelihood (already small, I know) of hash collisions for file revisions, and it seemed reasonable to be able to get the hash in base64 rather than hex encoding.

My use case is that I want to leave older file revisions in place on a CDN, making it sufficiently unlikely they will be overwritten by newer revisions.