Repository Files: implement base64 encoding for Mercurial
In particular, this makes uploading of binary files work in Web IDE. In theory it would be possible to pass some file as base64 encoded and require preservation of line endings. In practice that should not happen with the API requests front components and controllers generate. And I don't see why it should be forbidden (even if use-cases are hard to imagine).