-print[f] thread safety

Signed-off-by: nixnodes <code@nixnodes.net>