fix create torrent from buffer, require 'name' for consistency with parse-torrent