Delete some debug prints
Comment data conversion in write
Add a test for writing an rpn file