avatar-python: add SIGABRT handler

Signed-off-by: Lucian Cojocar <cojocar@gmail.com>