Added ramfs_read function.

Write seems to fail on unit tests so read is yet untested.