Changes on makeTorrent function.

Doesn't use the 'cp' external command anymore, use the library File::Copy instead.
Plus some changes on the variables inside the function.