Don't break when download cache contains directories (issue #31)

This fixes issue #31 reported on GitHub:
  https://github.com/paylogic/pip-accel/issues/31