Fix of file extension checking in spatial data import 

(closes OpenFLUID/openfluid#425)