Fixed problem with key-generation for ftok()

- previously, the source file had to be in the same
  folder as the binary for the key-generation to work.