Save file before syntax check