Changed scope of 'open' to be able to use custom RandomAccessFile implementations.