New revision of to_bundle.py
Refactored out handle_file_error() and fixed create_symlink()
Added command line interface and directory recognition to to_bundle.py