Write TOML to a file in the current working directory, or to a String.

Fields:

Example:
Writing to a file:

        def amap = ['something': 'my datas',
                    'size': 3,
                    'isEmpty': false]

        writeTOML file: 'data.toml', toml: amap
        def read = readTOML file: 'data.toml'

        assert read.something == 'my datas'
        assert read.size == 3
        assert read.isEmpty == false
        
Writing to a string:
        def amap = ['something': 'my datas',
                    'size': 3,
                    'isEmpty': false]

        String toml = writeTOML returnText: true, toml: amap
        def read = readTOML text: toml

        assert read.something == 'my datas'
        assert read.size == 3
        assert read.isEmpty == false