Support for binary files (sends as base64)

sends binary files like images automatically as a base64 String, which
can be directly set as a ressource.