irclogs.py: remove createIndex function

Not needed anymore, we handle this through the irclogs.php page on the
web site.
irclogs.py: add error checking for source+target dirs