Update class.osticket.php

There are extensions such as "7z" and "gz" that are valid.
Merge pull request #719 from MartyIX/patch-2

Update class.osticket.php

Reviewed-By: Jared Hancock <jared@osticket.com>