write new coordinates to file, no atom type though