Your resulting file is correct obj. However, what you want it to be - is incorrect obj.
Format for f
command is f position_id/texture_coordinates_id/normal_id
. You don't have texture coordinates, so this field is empty.
Options are
fix parser so it could load obj without texture coordinates, or
just add UV map to your object.