Merge pull request #94 from arian/fix-92-encoding

Fixes #92 - Change encoding of the downloaded file.
Refactor lib/getFiles and builder a little bit.