Fixes in write() and option handling
Fixes in write() and option handling

oberhamsi/ringojs,Transcordia/ringojs,ashwinrayaprolu1984/ringojs,ashwinrayaprolu1984/ringojs,ringo/ringojs,Transcordia/ringojs,Transcordia/ringojs,ashwinrayaprolu1984/ringojs,ringo/ringojs,Transcordia/ringojs,oberhamsi/ringojs,ringo/ringojs,oberhamsi/ringojs,ringo/ringojs,ashwinrayaprolu1984/ringojs