Avoid trailing space in needles generated by crop.py