[mdoc] Switched from swallowing error to guarded execution

Improves a60ff0fd1e181cfde5b862cc491c682c11b9660a

Tests for file existence and outputs diagnostic rather than treating it as a local recoverable exception.

Leaving the question of general mdoc error-reporting for another day.