set NSUnbufferedIO to YES as Yosemite workaround