Fix for SPARK-1758: failing test org.apache.spark.JavaAPISuite.wholeText...

...Files

The prefix "file:" is missing in the string inserted as key in HashMap