Catch ImportError for Polib and removed trailing whitespace.