Introduce cap_file_add_fdata() and start using it