server2: set pm_errno as needed when part of the logic chain
fails
server2: set pm_errno if we must break from download loop early
server2: if mtimes are identical, just add
filename to completed list and go on.