added tin export to single geometry conversion
put tin export into extra function to avoid code duplication
[FileIO/Legacy] Using two spaces instead of tabs.
removed surface creation from closed polylines