Because YAML.load raises SyntaxError (https://stackoverflow.com/questions/14676656/cant-rescue-yaml-load-exception)