Rename write_package to write_package_source