Replace insane auto sanitization with p()- WIP

Ref https://github.com/owncloud/core/pull/1976