It's a basic App Engine restriction : you can't write to the file system.
An App Engine application cannot:
- write to the filesystem. Applications must use the App Engine datastore for storing persistent data. Reading from the filesystem is allowed, and all application files uploaded with the application are available.