Bug fix + GTIff export support