Introduce btr_node_status() and add btr support to the file writer.