Bizarre Archive_Tar behaviour

I'm using archive tar to extract about 100 files (with directory paths). When I first do the extract, it fails (with no error), after extracting 74 files. The next time i try and extract, there's 76 files extracted, then the third time (lucky) there's 103 (all) files extracted. Anyone have any idea what the hell could be causing this?

After some digging, I found that the problem was because some of the entries in the archive were picking up random bits of binary garbage at the end of the filenames, and it was freaking out and bailing without an error. No idea how the errors got there, cause untarring from cmd worked fine…