add statuscode to the value of cachestore
change the value in the cURL --max-time parameter
update curl parameters

* remove -X
* change --max-redirs 10
* add --retry 3, --retry-delay 60
* add --compressed
fix bugs that are save an unfinished content
strict check on file format
add path and type in response of download
bump version to v0.2.0