This breaks file.managed states when the ``mode`` parameter is not specified.