title: os.stat and multiprocessing. analyzing list of files in parallel
body: <p>I'm trying to run <code>os.stat</code> in <code>pool</code>for list of files but as result receive just nested list of files statistics:</p>
  
  <pre><code>list_of_files = ['file1.txt','file2.txt','file3.txt']
  p = Pool(4) 
  list_of_stats = p.map(os.stat, list_of_files)
  </code></pre>
  
  <p><code>list_of_fies</code> contains the next value:
  <code>nt.stat_result(st_mode=33206, st_ino=0L, st_dev=0L, st_nlink=0, st_uid=0, st_gid=0, st_size=8905L, st_atime=1499725858L, st_mtime=1416573654L, st_ctime=1445009618L)...</code></p>
  
  <p>my question is: what is the simplest way to get the file name + statistics related to this files in list/dict? </p>
  
  <p>for instance dict: 
  <code>{'file1.txt': [st_mode=33206, st_ino=0L, st_dev=0L, st_nlink=0, st_uid=0, st_gid=0, st_size=8905L, st_atime=1499725858L,...]}</code></p>