Update npm to the latest version when provisioning.

Resolves #239, which was a bug present in older versions of npm.