How to recover customization that is not compiling anymore?

I was doing some changes in customization and unfortunatelly I did a
mistake in code. Now the customisation is not compiling and I can't go
into source code to fix it. When trying to export customisation and
look into exported xml it seems like source code is somehow coded in
between <chunk></chunk> tags.

Is it any chance to recover my customization in other way?