Save the file (if modified) before compiling Latex