cargo: Generate a Cargo.lock if one wasn't found?

cargo generate-lockfile could be used, instead of throwing an error.