write to a file from within peoplecode (peoplecode)