improved name of pil import/export functions

- to make it clear what the functions actually do:
  ndarray_to_pil() and pil_to_ndarray()
- as per code review feedback
- updated tests to use the new function names