Limit reports filename length, close #2142