Fixed FIB file format checking.

When the file has the .fib extension, check if it is VTK before. If not
fallback to FIB format.