Called just before the buffer is saved to a file. If the return value is #f, the file is not saved. See also after-save-file.
The filename argument is the name the file will be saved to. See load-file for information about format.