Temp folders are handled for OCRA, fixes #1

Also added handling for input files being in tmp, and fixes other random
handling issues.