make writetype of tachyonfile configurable, and format code

Make WriteType of TachyonFile configurable, currently CACHE_THROUGH is used.
and format the code.
This should be in UserConf.