Allow specifying a separate runtime directory for managing multiple instances.

[Review issue 2452001]