Bash script to create a file with proper xHTML tags