making extension .zip generation impervious to . files