am c5c30ba1: NPE check before finalizeDestinationFile().

* commit 'c5c30ba14d411b3e23c983912e7fea4f449c9f54':
  NPE check before finalizeDestinationFile().