Fix OpenData upload document exceptions (#353)
Fix OpenData upload document exceptions (#353)

* rework of filename generation and file creation in opendatacommand

* close file connections after upload

* fix getFile return class
GoteoFoundation/goteo,GoteoFoundation/goteo,GoteoFoundation/goteo,GoteoFoundation/goteo