Fixing bug where you cannot edit files.

Fixing a bug where you cannot edit the builtin files, for example the
"simplesample.js" file.