Remove .. from the beginning of all file paths before creating them.
Write obb files