Fix copying of staged files, remove old artifacts.