Fix create script for Linux

This fix is copied from the Android create script. OSX requires the -i
parameter to include an extension (in this case an empty string),
whereas it is not required on Linux (leading to the empty string being
interpreted as the filename).