Fixed tfs copyFromLocal for directories

Now it recursively copies the files and subdirectories inside the given
directory.
HY's comments
Merge pull request #104 from manugoyal/copyfromlocal-fix

Fixed tfs copyFromLocal for directories