Switch fileContentsProcessor from being a grunt config item to being an exported function in the gruntfile.