Update handler.php

bug fix and rar archive support.
Merge pull request #2 from MysticRain/patch-1

Fix and rar archive support.