Fixed issue when exporting to shp a layer with long fields (>10 chars)
Merge pull request #824 from volaya/fix_823

Fixed issue when exporting to shp a layer with long fields (>10 chars)