planetfs_main: add exception handling to main