Fix removeNameSpace parsing problem

removeNameSpace cannot work correctly when there are more than one
white space after XML decaration in response message. Fix it.
Merge pull request #386 from hrchu/bug/cannotMoveLargeFile

Fix removeNameSpace parsing problem