Transaction support in read optimized and write optimized file systems