Fix for SPARK-1025: PySpark hang on missing files.

The error message still isn't very specific, but
it's better than hanging indefinitely.