OAK-788: File backend for the SegmentMK

Remember to increment the index when starting a new file

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1478289 13f79535-47bb-0310-9956-ffa450edef68