Rename pi_thread to pi_thread.cpp