Add Capistrano task for generating BRANCH file.