glsl/tests: Catch mkdir errors to help explain when they happen.