Simplified error management

And added string replacement
WIP
Created gpf.BufferedOnReadStream
Factorized with gpf.BufferedOnReadStream