Bug 1024980 - Preloading SUMO fails on v1.3

store to index.html if url is a directory.