The property $objOptions.DefaultFilePath by itself returns an EMPTY reference, need to provide in indexer to pull exactly what you want, like this:

?"path=" + $objOptions.DefaultFilePath(0)