sfnt2woff: Changes per review feedback.

Use mkdir rather than Dir.mkdir and Dir.chdir.
Remove empty lines.
Use assert rather than raise.