Remove unnecessary check in ProcessWriteTasks.
Set state in in-ram file block.