Fixed transfer file deletion API.

refs #5837