End of migration from pillow to wand. Previews generation functions are
now in librairy/models, and it's slow, need to fix it.