Notes on filesystem transactions in Node