Rework file_digest filter into a tag.

Also picks up the site variable from the context, so it isn't needed as
an argument.