COOK-2330: use String#upcase in celeryconfig.py.erb

I'm not sure how (or if) this ever worked before, as String#upper
doesn't seem to be a valid method.