Corrected method write: now uses argument journalPath instead of static
field journalDirectory.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>