the init size should be undefined instead of zero for uploading/downloading
Merge pull request #937 from xmbms/storage

Small changes in upload/download