SERVER-14818 make file allocator exception safe