When rendering make sure that the output file path exists or create it.