Update trax.py

fix error: 
File /trax.py, line 61, in postPathSave
    if t in self.state['extra']:
KeyError: 'extra'