remove nextTick's so that node v0.8 is OK with file server