Fixed thrown error

I was getting `Uncaught TypeError: Cannot read property 'name' of undefined`
with `client.seed(files)` in the browser.

In `createTorrent`, opts.name is read from without checking if opts exists. (Maybe this fix should go in the `create-torrent` module?)