Make migration reversible

Fixes GitHub #13
Remove some non-printable characters