Redmine #5763: Do not create a zero sized file if src does not exist.