Fixed whoosh index creation to work with 0.2.x. #15