HDFS-5642: thread-local storage Windows implementation mostly done.