Fix for bug #17456 (Multiple resources are destined for same filename
errors)