Fix for issue #166 detecting file encoding using isBinaryFile
Merge pull request #168 from edgarRd/master

Fix bug on actions.copy and actions.directory encoding setting (issue #166)