Force initialization of the routes file before onStart

Fixes #845