Implement extension filtering in getOpenFileName