Penalties and unforced errors doom the Cowboys as their season comes to an end after a disappointing 23-17 loss to the 49ers in their wild-card showdown.