Ensure Fragment subclasses can be initiated.

Instead of using a custom constructor for the `DirectoryFragment`, you should pass the directory and pick mode through `Fragment.setArguments`.