Fix symlink error when decoding files.