Fixed #112, caused by buffer overflow during file load.