QS-2540: Fixed copying executable files which lay in subdirectories.