[jmdb] Adding a header line for buffers that have a filename