Remove trailing space in attach file step definition