Add file-size optimizations to avatar creation

With these optimizations, 128x128 avatars end up being about the
same file size as the 48x48 avatars we were creating before.
Create 128x128 avatars
Add some robustness to create-avatars script
Merge branch 'feature/avatars'