Implemented a proof of concept region file cleaning

This will remove the unneeded noise from region file improving compression
you put on top of them for your backups. In my own tests this made about a
25% difference.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>