Changed backend-api from FILE to std::ostream
Changed frontend-api from FILE to std::istream
Removed compatbility.{h,cc}: Not using open_memstream/fmemopen anymore