Prevent a NullPointerException in OME metadata generation

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13863 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Remove spurious carriage returns from metadata.txt

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13864 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd