Add safe_print function
We only work w/ 5.4 and later