Using writeSync in append mode for write log, added node v 10 for travis