12756 missing yaml module serializer error message

Running dumpdata without `pyyaml` installed will produce a useful error message:

```
[berto@scratch]$ python manage.py dumpdata --format=yaml
CommandError: Unable to serialize database: No module named yaml
```