Added support for .yaml file extensions. Closes #39.