Fix bug where filename was not shown in failed assertions.