Added mkdir for missing directory.