 editing a erlang term with pid in it fails