Optimize streams definitions by extending NodeNS.ReadWriteStream