[plugin API] Open preference file for reading as binary

Otherwise, the file is not readable as such when reloading, and the
plugin (e.g., Hamster integration) always uses the defaults.

Signed-off-by: Olivier Mehani <shtrom+gtg@ssji.net>