Fix missing mode
property on file wrapper
#2495
Merged
mode
property on file wrapper
#2495