Name of autogenerated PDF file is not checked for length. If it's longer than 200 chars, publish is broken