Fix some prefix handling for raw lines.