Properly handle '0' filenames in import-tars