convert: import SLP and therefore PIL only when writing files