Properly find GOPATH
Restore libtorrent defaults
Move removeFiles in a non-defer (since we are exiting anyway)