fix issue 2029: response.stream bug with spaces in filename
Merge pull request #570 from ilvalle/fix-stream

fix issue 2029: response.stream bug with spaces in filename