fixed equality check in TagFileWrapper