Make the test harness output file diffs on failure
Make builtin_complete output escaped completions. Fixes #1127