Update to the new lafe_setprogname() function.
The MTREE variable is not used, so move away the get target property
function.
Add the "#mtree v2.0" only when necessary (no classic output).
Fix the default test case accordingly.
Replace a strcat() call to a strncat().

Fix a regression where part of the pathname was left out due to
archive_string_copy(). Use archive_string_concat() instead.