Clean transpile output before transpiling

This ensures that the transpile output doesn't contain renamed or
deleted files from previous runs, which would then get included in
the concatenated output.

Also fix usage of the old axiom/core/err module, which was renamed in
a previous commit.