make show_diff work with puppet versions prior to 3.2