Expand input on multi-line paste. Fixes #32