By the way, right now in my camera
fout = io.open("A/out.txt", "a")
fout:write("test")
fout:close()
Creates the out.txt file with properties
Created: Saturday, January 01, 2000, 12:00:00 AM
Modified: Saturday, January 01, 2000, 12:00:00 AM
Can you please test if you have the same issue with your camera?