metrics/rta: save the list of live things in files

Simply use `live_types_to_csv` and `live_methods_to_tree` to produce
two files in the correct output directory.

This helps the debugging of engines when RTA is buggy or misused.

Signed-off-by: Jean Privat <jean@pryen.org>