cffi: support simple string getters