bugfix: history writing can't be done at the end of __call__ because __call__ can be interactive
bugfix: history writing can't be done at the end of __call__ because __call__ can be interactive

bsipocz/pyspeckit,mikelum/pyspeckit,bsipocz/pyspeckit,allisony/pyspeckit,vlas-sokolov/pyspeckit,low-sky/pyspeckit,allisony/pyspeckit,keflavich/pyspeckit,jpinedaf/pyspeckit,dinossimpson/pyspeckit,dinossimpson/pyspeckit,vlas-sokolov/pyspeckit,e-koch/pyspeckit,pyspeckit/pyspeckit,pyspeckit/pyspeckit,e-koch/pyspeckit,mikelum/pyspeckit,jpinedaf/pyspeckit,low-sky/pyspeckit,keflavich/pyspeckit-obsolete,keflavich/pyspeckit