Formatting ContentLength and Type error messages and handling them.
Always add "|p=" to generated sfn if there is no URL.