Ficed copyfile_pattern for directories