split create_file_info() function
split create_file_info() function

The previous function was looking ugly due to early returns.
This caused leaks and made it hard to read.

philipl/gvfs,halfline/gvfs,thiblahute/gvfs,xkahn/gvfs-cmis,halfline/gvfs,cpatulea/gvfs,xkahn/gvfs-cmis,xkahn/gvfs-cmis,philipl/gvfs,philipl/gvfs,thiblahute/gvfs,gicmo/gvfs,gicmo/gvfs,halfline/gvfs,xkahn/gvfs-cmis,cpatulea/gvfs,gicmo/gvfs,gicmo/gvfs