Utils: Improve error messages

Print the line + file where the message/error object occurred in order
to better identify exceptions like the one from #210.