fixed 'update_metadata' method to include chunk list when a file is
renamed/moved.