Implement loadfile/loadbuffer/loadstring