store index files with correct content type