tests: Fix compression type in test_xml_file.py
python: Add CrFile class (Bindings for the CR_FILE object).
python: Add compression_suffix and detect_compression functions.