Make the extension installation fail when any statement fails

This gives a much better feedback when there is an error in the installation