Merge "Rewrite File.mkdirs, improve the documentation, and add tests."