added tests and implementation for fondz.convert.convert_dir