fsync() parent directory whenever we create a new file.
Small fixes, added EINTR loops around an mkdir and around fsync.
Merge branch 'daniel_1703' into next
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next
Merge branch 'next' into sam_97_alt