Use addslashes instead of addcslashes
Merge pull request #1735 from owncloud/encodePathCorrectly

Use addslashes instead of addcslashes