Create db.sql in /tmp so also non-root can read it
Create nodeshot_dir sooner