Hi Matteo, it'd be easier to review your patch if you sent it along with a subsequent patch that made use of the I/O hooks. As it is, it's hard to know why this is necessary. Cheers, --Juan