Reversed data in file using RandomAccessFile