Running image optim over image files