Use minitar as it supports long filenames.

Patch from Richard Pijnenburg fixing some small bugs