Fixes for da7f01252440638241ef063bbdfed561ca0446cb.
Fixes for 33ef1a0427e1a0313cc2e06ae36dcb65b2b4eee7.
Fixes for 8c84fa074afe0ffd310bd3bf73fc670f7c9f66e6.
Fixes for 31a82c3c0c02ac628b4f249ad34122186eb55fcc.
Fixes for 16a1908200f676566eab60d1a36888079391b033.
Fixes for f14a5211230a005fc4de57f9637cecfacb3cc080.
Implement OpenFileDirectly. To be merged into the rest of the FS changes.