Move sys import below logging (alphabetical).