Bug: qconf crashes when passing an array of fileURIs as first argument

I have added a test that show the problem. The test is failing now.
I've spent some time figuering out that filePath should be a fileURI.