Multiple fixes
Fixes:
- Fix issue with the peer database caused by the ORM migration (a relogin is recommended to fix peer database issues)
- Fix an issue where ReadableBuffers and other streams could not be used when uploading stories in certain conditions
- Move legacy polyfill classes to namespace to fix composer issues