Fixed 'Bug 14208 - Copy file path/name throws an exception'.