composer-install of Drupal8 creates a tmp####/ folder. How to manage & clean it?
You shouldn't keep the tmp folder. The scaffolding plugin should delete tmp folder after it copied the necessary files into the web folder. Not sure what went wrong on your machine.

Fixed in https://github.com/drupal-composer/drupal-scaffold/issues/33