PhoneGap: Remove first space before XML declaration