Resolved stgbuf/stgpipe and related functions (un)signed char problem