Fixes #4462 - Do not applied recursion on files to prevent warning and applied permissions on base directory

Fixes #4462 - Do not applied recursion on files to prevent warning and applied permissions on base directory
cf http://www.rudder-project.org/redmine/issues/4462
if we are handling only files, we don't need the recurse_with_base, simple recurse is ok