Bitcoin transaction CSV write script