Port use of QFileDialog since the return type of the static methods has changed in PyQt5