Fix rosdep files check/clean scripts

Use pyyaml internal rules to decide whether to put quotes
or not around strings. This prevents crashes for gentoo rules (among others)