Replace boost::optional with our own implementation
Canonicalize filenames when checking if a buffer was written to its file
Fix spurious eol appearing in non scrolling fifo buffers