[Core] Address MAX_PATH issues on Windows in runtime_env/packaging
Description
This PR addresses MAX_PATH issues (file lengths longer than 260 character) on Windows in runtime_env/packaging.py
Prior to these changes, running test_runtime_env_working_dir test could fail with errors like
FileNotFoundError: [WinError 206] The filename or extension is too long: 'C:\Users\marosset\AppData\Local\Temp\pytest-of-marosset\pytest-8\test_working_dir_cleanup0\working_dir_files\https_github_com_shrekris-anyscale_test_module_archive_a885b80879665a49d5cd4c3ebd33bb6f865644e5\test_module-a885b80879665a49d5cd4c3ebd33bb6f865644e5'
Related issues
Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234".
Additional information
Optional: Add implementation details, API changes, usage examples, screenshots, etc.
Let me address the ci issues and cursor review comments