Minor refactoring
Index : Fix tests to delete temporary files at ending.
GTiff : fix tests to delete temporary files at ending.
MapInfo : Fix tests to delete temp files at ending.