Fixed proper 'vfs' unref during non-interactive command mode.