Fix __FILE__ and __LINE__ in logging and test output.