Contents:
Decorator to ensure the report directory exists before executing the decorated function.
The function to be decorated.
The wrapped function that ensures the report directory exists.