Fix handling of whitespace in the edit command. Fixes #155.