Limit compression magic number search to first 512KiB of file; allow load exceptions to bubble up