@muuki88 

About executables files that are inside the directory, as far as I understand the IO.copy looses the executable property. So, yes I guess I might need to go recursively through the directory hierarchy and set the flag accordingly, I guess. What do you think ?