rbindlist_with_attrs function

rbindlist but maintain attributes of last file