fixed error in append_to_fstab()