Fixed #1 and #29. Added OnCorruptedFileListener and support for old devices.