[BUGFIX] CSC: file references not working with image compression