for octet streams, open file after fileBegin, to allow renaming path
Merge pull request #220 from mkdynamic/patch-1

for octet streams, open file after fileBegin, to allow renaming path