Added the primary stage as parent for dir chooser.

In the file system driver, adding the parent can allow the
directory chooser dialog to be modal. But the problem of
pthread_mutex_lock still remains. However it just happens
some times...
Merge branch 'master' of https://github.com/dahuapp/Dahu