Update the resource metadata before zipping datapackage. (#14)
Update the resource metadata before zipping datapackage. (#14)

* Update the resource metadata before zipping datapackage.

- set encoding explicitely to utf-8
- ensure file extension is .csv

* Use regex instead of replace to fix file extension.

* Concatenate basename + ext instead of using regex.

frictionlessdata/datapackage-pipelines,frictionlessdata/datapackage-pipelines,frictionlessdata/datapackage-pipelines