fix deleteOnClose and add a path method to Translog to get the file path for a given ID