Fixes #6077 decode escaped newline characters in content for the copy module