Core: Fix limitation of max length for compressed file paths