Strip trailing php tags from files.