Implement FUSE rename with minimal file path check.

Implements Fuse rename by renaming files and directories in MediaProvider.
Only some path checks are done. We still allow apps to rename files owned by
any other app. Also, This doesn't restrict moving unsupported file types to
default directories.
MediaProvider database is not updated with the renamed path. This means that
MediaProvider database can be inconsistent even though rename is handled by
MediaProvider.

Bug: 144279181
Bug: 142475473
Test: atest -c FuseDaemonHostTest#testRenameFile
      atest -c FuseDaemonHostTest#testRenameDirectory
      atest -c FuseDaemonHostTest#testRenameEmptyDirectory

Change-Id: Ib9ebb7c67f0273ccf035b1b843c4ef843e2b6a18
6 files changed