Installation of Magento extension turns some files into a folder

During installation of extension or magento upgrade some files turned into a folder instead of file.

Path Example: app/code/community/PunchTab/Points/Block/Body/Script.php but it created Script.php folder instead of file under app/code/community/PunchTab/Points/Block/Body/

 Linux machine run Slitaz, Linux dolilive 2.6.37-slitaz-RAF #4 SMP i686 GNU/Linux
Magento 1.7.0.1

"Unfortunately, this packing and unpacking code hasn't been robustly tested across operating systems or against tar archives created with standard *nix tools. My problem with this code was archives created on my Mac OS system via tar wouldn't unpack correctly with Magento Connect's code on a system running linux.
Hard to track down, hard to report, hard to reproduce means hard to fix."

Long file names and Magento Connect extension packager

http://stackoverflow.com/questions/15751812/manual-installation-of-magento-extension-turns-every-file-into-a-folder

Tar Archive to Magento Connect

http://stackoverflow.com/questions/15471304/magento-making-folder-instead-of-file-when-new-extension-insatll