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.