Add FileObjectType to known object types
Add a test related to creating File objects

This tests a bug which was present as of
7666b90ed657fa550283bfceefb938f27f7372b5 but was fixed in
0ba7cdb9bac25bac864d87b52da1ccb6b1e94d9e.