Remove trailing path separators when generating temporary targets.
Add transactional operation (-t).