Fix inferred name of `src/main.rs`

The crate name should be the package name, not `main`.

Closes #207
This `.to_string` is probably not needed now?