- Change destination normal file detection to match with FreeBSD - Trim trailing slashes from source filenames so that cp foo/ == cp foo