Catch psych syntax error separately