make writetype of tachyonfile configurable
format the code with latest code style