[WIP] Cleanup file info formatter

- removed "type", can be computed from "mimetype"
- removed unused "date"
- the property "path" is now always returned to the client
- added unit test

@icewind1991 FYI