Update generate.php

All file types can be compressed now except for excel.