Fix issue with even alignment in write. Add commandline -r