Strip whitespace from files on save.

Python already had this, but good to do it everywhere I think.