core: filetransaction: return original file name if content is same

Change-Id: I64aa6db80f4804fc2b0ec88a8757430966e15659
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>