Only encode once in remove_node

Addresses #5
Merge pull request #6 from pygraphviz/remove-node-encoding

Only encode once in remove_node