Prevent server crash if screenshot directory is missing.