create_file method should take a service id rather than a service object

The create directory method takes a service id, but appears to actually send a service object.