Only generate slugs for english html attachments.

To prevent slugs being generated with non-ascii characters etc.