Clear opcode caches after writing to the config file, fixes #3372