fix issue where rake task was trying to copy xsds into things that aren't directories.