Silence all warnings from pika
Use chdir context manager