Use provided mimetype on open. Fix #4696

Fix bug "Filepicker mimetype filter bug" #4696 
@Kondou-ger