Delete resource file and xattr