Found a nicer way to skip creating database.php and bootstrap.php.
Moved creating of tmp dir to directory do block.