Fix exception in fileclient

The data was refed before assignment, no need to delete this anyway
the named file would not exist in this case