Fix pydo

- Raise error if the pydo returns any type other than a string or
  None
- Skip lines where pydo returns None
- issue #14

There is still a todo in there