Consistent formatting.
Make metadata output directory if it doesn't already exist. Closes #34.
Merge remote-tracking branch 'drew/master'