fsync() parent directory whenever we create a new file.
Small fixes, added EINTR loops around an mkdir and around fsync.
Check that result is not undefined/null before trying to access its profile -- Related to 1739
Fix r.ISO8601 + select_suggestion (with the mouse)
Make python script v3 compatible

Closes #1709
Pull request reviewed by @neumino and @atnnn

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Additional python change

Review 1069 by @neumino
Merge 1709 int v1.11.x
Draft NOTES for 1.11.2
Update NOTES
Merge v1.11.2 into next