Check that you have the right write permissions in the specified folder.
I would assume you should get an error, but unsure what might go wrong.
I was able to store the model in the wrong (with the folder name in the file name) and right way using your script.