Fixes #733: Url with Spaces not working in picasso

Try to give a more comprehensive solution to the problem.