Add a small header to the file... not much overhead and improves robustness a lot