fix not known extension
fix multiple 'copy on modify' files