Fix out of control recursive directory copy