Qfs c bindings: fix qfs_strerror by changing the api and making it re-entrant.