Adding actions.copyBin(...) function to keep the binary encoding on files such as images, also adding a flag to perform binary copy on the actions.directory(...) function.