Upgrade rake to modern version.

There are a number of security vulnerabilities so we need to up the
dependencies.