Fixed event tap writer to use flow id instead of tap id