Add base64 encode and decode filters to templates