[bithorded/lib/randomaccessfile]Significant optimisation in open(), avoiding extra fstat() and ftruncate()