base-files: add support for restoring config from tmpfs