Allow specifying an output file to test/serialize.lua script