[fix] File, recursion

* Fixed bug causing recursive call to File::exists()
[fix] Database migrations

* Fixed database migrations
User avatar migration

* Added user avatar migration
Files, guess path

* Files guess that path relies inside ROOT
Files, optimization

* optimized file::is_saved