Fix dupfd and check for radare2 before running