changed createLazyFile to only issue xhr requests when the file is acces...

...sed (fixes issue #1127)