Save and restore “ignore-hidden-files” property in configuration.