Added checks in FileAccessMemory::get_8()

Added checks and set default value for ret.
Also wouldn't it be a good idea to also check if pos < 0?