Fixed crashes with malformed MCA files.

Some tools write MCA files that are not 4K-aligned, these caused a crash.
Merge pull request #31 from madmaxoft/master

Fixed crashes with malformed MCA files.