Revert "Temporarily revert to writing .sst files instead of .ldb"

This reverts commit 9094c7ffe45e0bedd84ea414828f768fd49bcdf7.
Merge upstream LevelDB 1.17.