Creating examples folder before calling open() to resolve issue #1185

Since "examples" folder wasn't created before it was used in open(), #1185 error came up. A possible solution could be to create "examples" folder by gaining administrative rights.