expanded name validation to handle windows file paths for the destination