Permission\ denied\ @\ rb_sysopen bug fix