Fixes npm update permissions error

Fixes this error when running npm update when /usr/bin/npm and related files in /usr/ are owned by a different user: 

"npm ERR! error rolling back Error: EACCES, unlink '/usr/bin/npm'"