Added logging for time to open files.

This commit adds logging for both the time HDFS spent opening files
(read using a thread-local variable exposed by HDFS) as well as
logging for the time Spark spends opening shuffle write files.