Fix handling of new empty file

A new file which is empty is first synchornized with a file command
without revision (because it is new) and an empty raw command.