Improve handling of updating the Drupal File.