Remember file mode to apply when we save files