How to repair corrupt JPG and AVI files ?