encodeURI in case filename contains special character ex: space
Merge pull request #29 from garaboncias/patch-1

encodeURI in case filename contains special character ex: space