Fixing file upload.

Fixes #248.
Move the node.js version check to before `npm install`.

`npm install` will fail for some old node versions because it can't satisfy the version requirements for our packages.
adding note about Ubuntu's old version of node.js