Fixed issues in synchronous writeSync