Initial port to python.

Works, but many checks are still missing. E.g.
* What happens when the file cannot be moved? An error message is
  currently not issued, yet.