pycpio: initial implementation
set correct mode according to file type
Merge branch 'master' of github.com:niamster/pycpio