Fix number reading bug within fs.readfile