inputbase.py: fixed expansion of folders
exportroot.py: implemented export module for root objects