Add newline at end automatically when saving files