rpicputempdb.py add some thinks

Now create the dir if it not exists. Check fails with try/except.