#347. Fixed tmppath with schemas

Patch with fix and test
Why not use the `hdfs` section. Why `core`?