The ex-FBI chief faces accusations of transmitting threats and exploiting controversy to market his upcoming novel.