Fix windows traversal fix reference to tx->filename