Fixes 177

Checks for the existance of the output_path's directory and creates it if needs be