create /dff before writing file. So empty sd card would work
Merge pull request #1 from degasus/master

create /dff before writing file. So empty sd card would work