Allow unpacking .gz files

Closes #114