Correct actions for data files

There is incorrect condition for FILE_ACTION_TRUNCATE and
FILE_ACTION_COPY_TAIL actions which leads to garbage entries
in fetchchunks table while rewinding.