Fix *occassional* npm install failures on Travis CI

https://github.com/travis-ci/travis-ci/issues/2244#issuecomment-55473829
mentions creating the npm directory manually as a temporary workaround