RUBY-528 fixing index creation in gridfs objects initialization