Use safe_load_all to detect errors in multi-document files
Merge pull request #2 from adamchainz/master

Use safe_load_all to detect errors in multi-document files. Fixes #1