Linux post module to append data to a file