Regardless the reason you've decided to use PutHiveQL for select statement (I would use SelectHiveQL and then PutFile processor to store a result of select)...
But... back to the use case. Both PutHiveQL and Beeline are JDBC based clients. Using "insert overwrite LOCAL directory" doesn't seem to have a sense, as you never know what LOCAL directory (which node, etc) will be in the context. If still temp files are required to be created, you can go with:
1. PutHiveQL (insert overwrite directory, not local).
2. GetHDFS
... continue your processes/transformations with FlowFiles as usual.
Please note, HDFS files will be deleted after GetHDFS will finish.