Fixed file not found issue

This fixes an issue where the second call would miss the "/files" part.

The path attribute must keep "files" so that the next call to the File
instance will still have the correct one.

Fixes #135 

Please review @VicDeo 

I'm still testing this and there are some issues with sharing, I'm not sure whether they are related to my fix.
I'll report them separately.