Add base64.js to all templates that use a file explorer

refs #6067