Picture tempfile file locking issues fixed.