Create necessary subdirectories of prototype in unit tests

Wrap file existence in fileutils, test fileutils, use in runtime code, and mock in other tests.

Add CreatePrototype to test_support package.