Option to set path to use for imported files

This enables more flexibility in where the new index file is created relative to the referenced component files.