Maya crash after successfully writing frames