[compat] Rename shlex_quote and remove unused subprocess_check_output