Added support for slice indexing to file backend (Mongo backend already supports this).