the way I see it, not the files problem.
PK6 is a format for .pkm in generation 6, nothing wrong with it.
I think you don't have rights to save in that location.
Are you able to export save or save Pokemon in any other directory?
Are you able to run as administrator?
Also, please answer all above questions. AND, stop multiposting. I merged your posts.